﻿<%@ Page Title="" Language="C#" MasterPageFile="~/back/Site.master" AutoEventWireup="true"
    CodeFile="AddBuilders.aspx.cs" Inherits="back_AddBuilders" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            $('.cleditor').cleditor();
            $('.datepicker').datepicker();
            $("input:checkbox, input:radio, input:file").not('[data-no-uniform="true"],#uniform-is-ajax').uniform();
            $('[data-rel="chosen"],[rel="chosen"]').chosen();
        });
    </script>
    <div class="page-header">
        <h1>
            Add Builder</h1>
    </div>
    <div id="divMessage" runat="server">
    </div>
    <div style="float: left; width: 50%;">
        <div class="control-group">
            <label class="control-label">
                Name</label>
            <div class="controls">
                <asp:TextBox ID="txtName" runat="server" CssClass="input-xlarge"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvMenuTitle" runat="server" CssClass="alert-error"
                    ForeColor="Red" ErrorMessage="*" ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Builder Image</label>
            <div class="controls">
                <asp:FileUpload ID="uplBuilderImage" runat="server" class="input-file uniform_on" />
                <div id="divimage" runat="server" visible="false">
                    <a id="aviewimage" runat="server" style="display: none;" target="_blank">View Image</a></div>
            </div>
        </div>
        <asp:HiddenField ID="hfBuilderImageName" runat="server" />
        <div class="control-group">
            <label class="control-label">
                Address</label>
            <div class="controls">
                <asp:TextBox ID="txtAddress" TextMode="MultiLine" Rows="5" runat="server" CssClass="input-xlarge"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvFirstname" runat="server" ForeColor="Red" ErrorMessage="*"
                    ControlToValidate="txtAddress" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Phone</label>
            <div class="controls">
                <asp:TextBox ID="txtPhone" runat="server" CssClass="input-xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Fax</label>
            <div class="controls">
                <asp:TextBox ID="txtFax" runat="server" CssClass="input-xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Email</label>
            <div class="controls">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="input-xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Website</label>
            <div class="controls">
                <asp:TextBox ID="txtWebsite" runat="server" CssClass="input-xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Property Location</label>
            <div class="controls">
                <asp:DropDownList ID="ddlPropertyLocation" runat="server" data-rel="chosen">
                    <asp:ListItem Text="Select Property Location" Value=""></asp:ListItem>
                    <asp:ListItem Text="Ahmedabad" Value="Ahmedabad"></asp:ListItem>
                    <asp:ListItem Text="Banglore" Value="Banglore"></asp:ListItem>
                    <asp:ListItem Text="Cochin" Value="Cochin"></asp:ListItem>
                    <asp:ListItem Text="Pune" Value="Pune"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        <div class="control-group" id="divUsername" runat="server">
            <label class="control-label">
                Username
            </label>
            <div class="controls">
                <asp:TextBox ID="txtUsername" runat="server" CssClass="input-xlarge"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvUsedrName" runat="server" CssClass="alert-error"
                    ForeColor="Red" ErrorMessage="*" ControlToValidate="txtUsername" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                Password
            </label>
            <div class="controls">
                <asp:TextBox ID="txtPassword" runat="server" CssClass="input-xlarge" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="alert-error"
                    ForeColor="Red" ErrorMessage="*" ControlToValidate="txtPassword" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
        </div>
    </div>
    <div style="float: right; width: 50%;">
        <div class="control-group">
            <label class="control-label">
                Description</label>
            <div class="controls">
                <asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" CssClass="cleditor"></asp:TextBox>
            </div>
        </div>
    </div>
    <div class="clearfix">
        &nbsp;</div>
    <div class="form-actions">
        <asp:Button ID="btnSubmit" runat="server" CssClass="btn btn-primary" Text="Submit"
            OnClick="btnSubmit_Click" />
    </div>
</asp:Content>
